

package jetbrains.buildServer.server.graphql.model.mutation.agentPool;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class CreateAgentPoolInput {
  @NotNull
  private String myName;
  @Nullable
  private Integer myMaxAgentsNumber;

  public CreateAgentPoolInput() { }

  public void setName(@NotNull String name) {
    myName = name;
  }

  public void setMaxAgentsNumber(@Nullable Integer maxAgentsNumber) {
    myMaxAgentsNumber = maxAgentsNumber;
  }

  @NotNull
  public String getName() {
    return myName;
  }

  @Nullable
  public Integer getMaxAgentsNumber() {
    return myMaxAgentsNumber;
  }
}